package com.huli.service;

import com.huli.pojo.SysDepartment;
import com.huli.vo.DepartmentVo;

import java.util.List;

public interface DepartmentService {

    DepartmentVo departmentList(DepartmentVo departmentVo);

    void deleteDepartment(Long id);

    void addDepartment(SysDepartment sysDepartment);

    void updateDepartment(SysDepartment sysDepartment);

    List<SysDepartment> queryDepartmentName();

    SysDepartment queryDepartmentById(Long id);
}